/*
 * @Author: 肖思汗 
 * @Date: 2025-08-25 17:52:36 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2025-08-25 17:56:15
 */
import Taro from "@tarojs/taro";
import { makeAutoObservable } from "mobx";

class GoOnPreDesignStore {
    constructor() {
        makeAutoObservable(this, {}, { deep: false });
    }

    //  productId,//商品id
    // productNegativeId,//底板id
    // productDesign,//具体商品设计json
    // designName,
    // size,//尺码
    // color,//颜色名
    // colorValue,//颜色值

    temp_designer?: any = Taro.getStorageSync('temp_designer');
    setTemp_designer(data: any) {
        this.temp_designer = data;
        Taro.setStorageSync('temp_designer', data);
    }

}

const goOnPreDesignStore = new GoOnPreDesignStore();

export default goOnPreDesignStore;